package com.infolab.aims.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import org.apache.commons.collections.FactoryUtils;
import org.apache.commons.collections.list.LazyList;

import com.infolab.aims.common.bean.AbstractModelBean;


@Embeddable
public class DriverPK implements Serializable {

	@Column(name="VEH_REGN_N")
	private String vehicleId;
	
	@Column(name="DRV_IC_N")
	private String driverNric;

	
	public DriverPK() {
		// TODO Auto-generated constructor stub
	}
	
	public DriverPK(String vehicleId,String driverNric) {
		this.vehicleId=vehicleId;
		this.driverNric=driverNric;
	}
	
	public String getVehicleId() {
		return vehicleId;
	}

	public void setVehicleId(String vehicleId) {
		this.vehicleId = vehicleId;
	}

	public String getDriverNric() {
		return driverNric;
	}

	public void setDriverNric(String driverNric) {
		this.driverNric = driverNric;
	}
	
	
}
